<template>
  <div class="nav">
    <ul>
      <router-link to="/film" active-class="active" tag="li">
        <i class="iconfont icon-dianying"></i>
        <p>电影/影院</p>
      </router-link>
      <router-link to="/video" active-class="active" tag="li">
        <i class="iconfont icon-shipin1"></i>
        <p>视频</p>
      </router-link>
      <router-link to="/smallvideo" active-class="active" tag="li">
          <i class="iconfont icon-shipin"></i>
        <p>小视频</p>
      </router-link>
      <router-link to="/perform" active-class="active" tag="li">
        <i class="iconfont icon-yanchu"></i>
        <p>演出</p>
      </router-link>
      <router-link to="/center" active-class="active" tag="li">
        <i class="iconfont icon-baijiaxiaochengxuduantubiao_xiaorentou"></i>
        <p>我的</p>
      </router-link>
    </ul>
  </div>
</template>

<script>
// import导入样式
import "@/assets/font/iconfont.css";

export default {
  data() {
    return {};
  },
  mounted() {},
};
</script>

<style lang="scss" scoped>
.nav {
  position: fixed;
  bottom: 0;
  left: 0;
  border-top: 1px solid #ccc;
  height: 50px;
  text-align: center;
  background: #fff;
  color: #7a7e83;
  width: 100%;
  z-index: 10;

  ul {
    display: flex;
    align-items: center;
    li {
      margin-top: 5px;
      flex: 1;
      height: 43px;
      &.active {
        color: #e54847;
      }
      p {
        font-size: 10px;
        margin-top: 2px;
      }
      i {
        font-size: 25px;
      }
    }
  }
}
</style>